package classconverstation.cscl.ist.psu.edu.client;

import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.core.client.JsArrayString;

public class CommonObject extends JavaScriptObject{
    protected CommonObject() {}
    
    public final native JsArray<CommonObject> getItems()/*-{
        return this.items;
    }-*/;
    
    public final native String getType()/*-{
		return this.type;
	}-*/;

    public final native int getItemType()/*-{
        return this.itemType;
    }-*/;
    
	public final native String getLink()/*-{
		return this.link;
	}-*/;
	
	public final native String getId()/*-{
		return this.fid;
	}-*/;
	
	public final native String getLiked()/*-{
		return this.liked;
	}-*/;
    
    public final native String getTitle()/*-{
        return this.title;
    }-*/;
    
	public final native String getParentID()/*-{
		return this.parentid;
	}-*/;
	
	public final native String getCreationTime()/*-{
		return this.time;
	}-*/;
	
    public final native String getUser()/*-{
        return this.uid;
    }-*/;
	
	public final native String getContent() /*-{
		return this.content;
	}-*/;
	
	public final native String magic(String key)/*-{
		return this[key];
	}-*/;
}